import React, {useRef} from 'react';
import {Modal, Form, Radio, Input, Card, Statistic, Col} from 'antd';
import edit from '@/assets/img/edit.png'
import styles from './styles.less';

const StatisticCard = (props) => {
  const {dataSource} = props;
  return (
    <Card className={styles.card}>
      <div style={{display: 'flex', textAlign: 'left', alignItems: 'center', justifyContent: 'center', width: '80%'}}>
        <img src={dataSource.icon}/>
        <div className={styles.content}>
          <div className={styles.value}>{dataSource.value}</div>
          <div className={styles.label}>{dataSource.label}</div>
        </div>
      </div>
    </Card>
  );
};
export default StatisticCard;
